<!--
 * @Author: canlong.shen
 * @Date: 2021-11-01 13:15:33
 * @LastEditors: your name
 * @LastEditTime: 2021-11-01 16:19:00
 * @Description: file content
-->
<template>
  <div>
    {{count}}
    <input type="text" v-model="count">
  </div>
</template>
<script>
import {mapState,mapGetters,mapMutations,mapActions} from 'vuex'
export default {
  data() {
    return {
    }
  },
  computed:{
    count :{
       get(){
         return this.$store.state.count
       },
       set(value){
         this.$store.commit("updateCount",value)
       }
    }
  },
  methods: {
  },
}
</script>
<style lang="less">
</style>